package com.sakiko.config;

import com.sakiko.function.RecruitServiceFunction;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Description;

import java.util.function.Function;

/**
 * projectName: com.sakiko.config
 *
 * @author: Yang
 * description:
 * time: 2025/8/9 16:59
 */
@SpringBootConfiguration
public class IsAllow {

    @Bean
    @Description("某某是否有资格面试")
    public Function<RecruitServiceFunction.Request, RecruitServiceFunction.Response> recruitServiceFunction(){
        return new RecruitServiceFunction();
    }
}
